<?php 
    $acl = Zend_Registry::get("acl");
    $env = Jnd_App::getEnvironnement();
?>
<!--  start nav-outer-repeat................................................................................................. START -->
<div class="nav-outer-repeat"> 
<!--  start nav-outer -->
<div class="nav-outer"> 

		<!-- start nav-right -->
		<div id="nav-right">
		
			<div class="nav-divider">&nbsp;</div>
			<div class="showhide-account"><img src="/images/admin/shared/nav/nav_myaccount.gif" width="93" height="14" alt="" /></div>
			<div class="nav-divider">&nbsp;</div>
			<a href="<?php echo $this->smartUrl("deconnexion", "accueil", "front")?>" id="logout"><img src="/images/admin/shared/nav/nav_logout.gif" width="64" height="14" alt="" /></a>
			<div class="clear">&nbsp;</div>
		
			<!--  start account-content -->	
			<div class="account-content">
			<div class="account-drop-inner">
			    <a href="#"><?php echo Zend_Auth::getInstance()->getIdentity()->{"pseudo"}?></a>
			    <div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-settings">Settings</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-details">Personal details </a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-project">Project details</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-inbox">Inbox</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-stats">Statistics</a> 
			</div>
			</div>
			<!--  end account-content -->
		
		</div>
		<!-- end nav-right -->


		<!--  start nav -->
		<div class="nav">
		<div class="table">
		
		<ul class="<?php echo $this->class_ul_accueil?>"><li><a href="<?php echo $this->smartUrl("index", "index", "back")?>"><b><?php echo __("Accueil")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.config")) : ?>
		<div class="select_sub <?php echo $this->class_ul_accueil_detail; ?>">
			<ul class="sub">
				<li><a href="<?php echo $this->smartUrl("index", "config", "back")?>"><?php echo __("Configuration")?></a></li>
				<li><a href="<?php echo $this->smartUrl("indextypecontact", "config", "back")?>"><?php echo __("Type contact")?></a></li>
				<li><a href="<?php echo $this->smartUrl("index", "classements", "back")?>"><?php echo __("Synchronisation Badmania")?></a></li>
				<li><a href="<?php echo $this->smartUrl("liste", "classements", "back")?>"><?php echo __("Classement Badmania")?></a></li>
			</ul>
		</div>
		<?php endif; ?>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.utilisateurs")) : ?>                    
		<ul class="<?php echo $this->class_ul_utilisateurs; ?>"><li><a href="<?php echo $this->smartUrl("index", "utilisateurs", "back")?>"><b><?php echo __("Utilisateurs")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_utilisateurs_detail; ?>">
			<ul class="sub">
				<li><a href="<?php echo $this->smartUrl("index", "groupes", "back")?>"><?php echo __("Les groupes")?></a></li> 
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		<?php endif; ?>
		
		<div class="nav-divider">&nbsp;</div>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.news")) : ?>
		<ul class="<?php echo $this->class_ul_news; ?>"><li><a href="<?php echo $this->smartUrl("index", "news", "back")?>"><b>News</b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_news_detail; ?>">
			<ul class="sub">
			    <?php if ( $acl->isAllowedArray($env->getRoles(), "back.liens")) : ?>
				<li><a href="<?php echo $this->smartUrl("index", "liens", "back")?>"><?php echo __("Liens")?></a></li>
				<?php endif; ?>
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		
		<?php endif; ?>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.droits")) : ?>
		<!-- Les droits -->
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="<?php echo $this->class_ul_droits; ?>"><li><a href="<?php echo $this->smartUrl("index", "droits", "back")?>"><b><?php echo __("Droits")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_droits_detail; ?>">
			<ul class="sub">
				<li><a href="<?php echo $this->smartUrl("index", "roles", "back");?>"><?php echo __("Les rôles")?></a></li>
				<li><a href="<?php echo $this->smartUrl("index", "ressources", "back");?>"><?php echo __("Les ressources")?></a></li>
				<li><a href="<?php echo $this->smartUrl("autorisations", "droits", "back");?>"><?php echo __("Les autorisations")?></a></li>
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		<!-- Fin droits -->
		<?php endif; ?>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.pages")) : ?>
		<!-- Les pages -->
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="<?php echo $this->class_ul_pages; ?>"><li><a href="<?php echo $this->smartUrl("index", "pages", "back")?>"><b><?php echo __("Pages")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_pages_detail; ?>">
			<ul class="sub">
				<li><a href="#">&nbsp;</a></li>
				<li><a href="#">&nbsp;</a></li>
				<li><a href="#">&nbsp;</a></li>
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		<!-- Fin pages -->
		<?php endif; ?>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.saisons")) : ?>
		<!-- Les Saisons -->
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="<?php echo $this->class_ul_saisons; ?>"><li><a href="<?php echo $this->smartUrl("index", "saisons", "back")?>"><b><?php echo __("Saisons")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_saisons_detail; ?>">
			<ul class="sub">
				<li><a href="<?php echo $this->smartUrl("index", "competitions", "back");?>"><?php echo __("Compétitions")?></a></li>
				<li><a href="<?php echo $this->smartUrl("index", "equipes", "back");?>"><?php echo __("Equipes")?></a></li>
				<li><a href="<?php echo $this->smartUrl("index", "tournois", "back");?>"><?php echo __("Tournois")?></a></li>
				<li><a href="<?php echo $this->smartUrl("inscriptions", "tournois", "back");?>"><?php echo __("Inscriptions")?></a></li>
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		<!-- Fin saisons -->
		<?php endif; ?>
		
		<?php if ( $acl->isAllowedArray($env->getRoles(), "back.galerieAlbums")) : ?>
		<!-- La Galerie -->
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="<?php echo $this->class_ul_galerie; ?>"><li><a href="<?php echo $this->smartUrl("index", "galerie-albums", "back")?>"><b><?php echo __("Galerie")?></b><!--[if IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
		<div class="select_sub <?php echo $this->class_ul_galerie_detail; ?>">
			<ul class="sub">
				<li><a href="<?php echo $this->smartUrl("index", "galerie-photos", "back");?>"><?php echo __("Photos")?></a></li>
				<li><a href="#">&nbsp;</a></li>
				<li><a href="#">&nbsp;</a></li>
			</ul>
		</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		</ul>
		<!-- Fin Galerie -->
		<?php endif; ?>
		
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  start nav -->

</div>
<div class="clear"></div>
<!--  start nav-outer -->
</div>
<!--  start nav-outer-repeat................................................... END -->